package com.oa.bean;

/**
 * TMsg entity. @author MyEclipse Persistence Tools
 */

public class TMsg implements java.io.Serializable {

	// Fields

	private Integer msgid;
	private String msgtitle;
	private String msgcon;
	private Integer msgstatus;

	// Constructors

	/** default constructor */
	public TMsg() {
	}

	/** full constructor */
	public TMsg(String msgtitle, String msgcon, Integer msgstatus) {
		this.msgtitle = msgtitle;
		this.msgcon = msgcon;
		this.msgstatus = msgstatus;
	}

	// Property accessors

	public Integer getMsgid() {
		return this.msgid;
	}

	public void setMsgid(Integer msgid) {
		this.msgid = msgid;
	}

	public String getMsgtitle() {
		return this.msgtitle;
	}

	public void setMsgtitle(String msgtitle) {
		this.msgtitle = msgtitle;
	}

	public String getMsgcon() {
		return this.msgcon;
	}

	public void setMsgcon(String msgcon) {
		this.msgcon = msgcon;
	}

	public Integer getMsgstatus() {
		return this.msgstatus;
	}

	public void setMsgstatus(Integer msgstatus) {
		this.msgstatus = msgstatus;
	}

	@Override
	public String toString() {
		return "TMsg [msgid=" + msgid + ", msgtitle=" + msgtitle + ", msgcon=" + msgcon + ", msgstatus=" + msgstatus
				+ "]";
	}

}